//
//  WLHttpRequestAfter.h
//  YidianCan_Business
//
//  Created by scjh on 14/12/11.
//  Copyright (c) 2014年 John. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WLHttpRequestAfter : NSObject


/**注册-验证手机是否可以注册*/
+ (void)userCheckUserWithParam:(NSDictionary *)param
                  usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                   andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**注册-手机发送验证码接口*/
+ (void)userSendRangCodeWithParam:(NSDictionary *)param
                 usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                  andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**注册-用户完善密码和昵称*/
+ (void)userRegisterWithParam:(NSDictionary *)param
                 usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                  andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**用户登录*/
+ (void)userLoginWithParam:(NSDictionary *)param
             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
              andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**用户个人中心-基本信息*/
+ (void)userCenterInfoWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-新增编辑地址*/
+ (void)userEditAddressWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-我的地址*/
+ (void)userGetUserAddressWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-编辑个人信息*/
+ (void)userEditUserInfoWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-我的分享*/
+ (void)userGetMyShareWithParam:(NSDictionary *)param
                 usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                  andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-私信*/
+ (void)userGetMyLetterWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-获取某人的私信*/
+ (void)userGetLetterForWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-回复私信*/
+ (void)userReplyLetterWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-删除私信*/
+ (void)userDeleteLetterWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**活动列表*/
+ (void)activityGetActivityWithParam:(NSDictionary *)param
                    usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                     andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**图片上传*/
+ (void)userUploadImageWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**删除图片*/
+ (void)userDelPhotoWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;


/**个人中心-删除地址*/
+ (void)userdelAddressWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**获取动态列表*/
+ (void)userGetTrendWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**用户发布动态*/
+ (void)userPublishTrendWithParam:(NSDictionary *)param
             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
              andFailureBlock:(void (^)(NSError *resultError))failureBlock;


/**用户回复动态*/
+ (void)userReplayTrendWithParam:(NSDictionary *)param
                 usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                  andFailureBlock:(void (^)(NSError *resultError))failureBlock;


/**个人中心-更新头像、相册*/
+ (void)userModifyHeadWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**删除动态*/
+ (void)userDelTrendWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**获取动态评论列表*/
+ (void)userGetrendDiscussWithParam:(NSDictionary *)param
             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
              andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**获取省市区列表*/
+ (void)addressListWithParam:(NSDictionary *)param
                   usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                    andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**获取话题接口*/
+ (void)userGetTopicWithParam:(NSDictionary *)param
            usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
             andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**查询列表接口*/
+ (void)bannerGetBannerWithParam:(NSDictionary *)param
             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
              andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**收到的评论和发的评论*/
+ (void)userGetCenterDiscussWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-我的钱包*/
+ (void)userGetMyWalletWithParam:(NSDictionary *)param
                     usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                      andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-支付宝绑定*/
+ (void)userBindAlipayWithParam:(NSDictionary *)param
                usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                 andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个个人中心-申请提现*/
+ (void)userApplyForWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-提现获取已绑定的支付宝*/
+ (void)userGetAlipayWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**个人中心-分享回调*/
+ (void)usercallBackShareWithParam:(NSDictionary *)param
              usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
               andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**下订单*/
+ (void)userOrderWithParam:(NSDictionary *)param
                  usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                   andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**获取订单*/
+ (void)userGetOrderWithParam:(NSDictionary *)param
          usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
           andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**订单支付回调*/
+ (void)userOrderPayWithParam:(NSDictionary *)param
             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
              andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**找回密码-验证用户*/
+ (void)userFindPasswordWithParam:(NSDictionary *)param
             usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
              andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**找回密码-验证用户*/
+ (void)userModifyPasswordWithParam:(NSDictionary *)param
                 usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                  andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**第三方账号登陆接口*/
+ (void)userLoginAuthoWithParam:(NSDictionary *)param
                   usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                    andFailureBlock:(void (^)(NSError *resultError))failureBlock;

/**验证验证码是否正确*/
+ (void)userCheckCodeWithParam:(NSDictionary *)param
               usingSucessBlock:(void(^)(BOOL isSucess,NSDictionary * resultDictionary))sucessBlock
                andFailureBlock:(void (^)(NSError *resultError))failureBlock;



@end
